package com.trimps.steps.mapper;

import java.util.HashMap;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.hotfire.template.common.Paginator;
import com.trimps.steps.pojo.Walker;

public interface WalkerMapper {
    public List<Walker> getWalker(@Param("page") Paginator page, @Param("map") HashMap<String, String> map);

    public int getWalkerCount(@Param("map") HashMap<String, String> map);

    public List<Walker> getWalkersByGroupId(@Param("groupId") int groupId,@Param("page") Paginator page);

    public int save(@Param("walker") Walker walker);

    public int delById(@Param("id") int id);
}
